﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using OnLineExam.Model;
using OnLineExam.BLL;

public class BaseAdminPage : BasePage
{
	protected override void OnPreInit(EventArgs e)
	{
		 
		base.OnPreInit(e);
	}
	public Users GetCurrentUser() {

		var userId = User.Identity.Name;

		return UserManager.seluser(userId).First();

	}
}